<%@ page import="fzzl.RecipeDetail" %>



<div class="fieldcontain ${hasErrors(bean: recipeDetailInstance, field: 'drug', 'error')} required">
	<label for="drug">
		<g:message code="recipeDetail.drug.label" default="Drug" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="drug" name="drug.id" from="${fzzl.Drug.list()}" optionKey="id" required="" value="${recipeDetailInstance?.drug?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: recipeDetailInstance, field: 'drugNum', 'error')} required">
	<label for="drugNum">
		<g:message code="recipeDetail.drugNum.label" default="Drug Num" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="drugNum" value="${fieldValue(bean: recipeDetailInstance, field: 'drugNum')}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: recipeDetailInstance, field: 'recipe', 'error')} required">
	<label for="recipe">
		<g:message code="recipeDetail.recipe.label" default="Recipe" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="recipe" name="recipe.id" from="${fzzl.Recipe.list()}" optionKey="id" required="" value="${recipeDetailInstance?.recipe?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: recipeDetailInstance, field: 'rowNumber', 'error')} required">
	<label for="rowNumber">
		<g:message code="recipeDetail.rowNumber.label" default="Row Number" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="rowNumber" type="number" value="${recipeDetailInstance.rowNumber}" required=""/>
</div>

